package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ShopChat;
import com.woniuxy.common.entity.ShopChatExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopChatMapper {
    long countByExample(ShopChatExample example);

    int deleteByExample(ShopChatExample example);

    int deleteByPrimaryKey(String msgId);

    int insert(ShopChat record);

    int insertSelective(ShopChat record);

    List<ShopChat> selectByExample(ShopChatExample example);

    ShopChat selectByPrimaryKey(String msgId);

    int updateByExampleSelective(@Param("record") ShopChat record, @Param("example") ShopChatExample example);

    int updateByExample(@Param("record") ShopChat record, @Param("example") ShopChatExample example);

    int updateByPrimaryKeySelective(ShopChat record);

    int updateByPrimaryKey(ShopChat record);
}
